package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.request.BankerInfoRequest;
import com.ytjj.qmyx.admin.model.response.BankerInfoResponse;
import com.ytjj.qmyx.mall.model.BankerInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 *
 * @Version: 1.0
 */
public interface BankerInfoDao {

    List<BankerInfoResponse> selectList(BankerInfoRequest bankerInfoRequest);

    BankerInfo selectIdentity(Integer id);

    Integer verifySuccess(@Param("id") Integer id, @Param("adminName") String adminName);

    Integer verifyFail(@Param("id") Integer id,
                       @Param("rejectReason") String rejectReason, @Param("adminName") String adminName);

    BankerInfo getBankerInfo(Integer id);

    BankerInfo getBankerInfoStatus(Integer bankerId);

}
